package com.study.wumeng.chapter_2;

import android.content.Intent;
import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;
import android.view.View;
import android.widget.Button;

import com.study.wumeng.chapter_2.manager.UserManager;

public class MainActivity extends AppCompatActivity {

    private static final String TAG = "WM";

    private Button button;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_main);

        UserManager.sUserId = 2;

        button = findViewById(R.id.button);

        button.setText(UserManager.sUserId+"");




    }
}
